Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  IIS  Compression  Scheme  Information  

 Content of List IIS Compression Scheme Information.vbs
MD5 Hash: E01FA56361B5433F2D2260248AE85217
' Description: Returns information about compression scheme configuration on an IIS server.


On Error Resume Next

strComputer = "LocalHost"
Set colSchemes = GetObject _
("IIS://" & strComputer & "/W3SVC/Filters/Compression")

For Each objItem in colSchemes
If objItem.Name <> "Parameters" Then
wscript.Echo "Name: " & objItem.Name
Wscript.Echo "Compression DLL: " & objItem.HcCompressionDll
Wscript.Echo "Create Flags: " & objItem.HcCreateFlags
Wscript.Echo "Do Dynamic Compression: " & _
objItem.HcDoDynamicCompression
Wscript.Echo "Do Static Compression: " & _
objItem.HcDoStaticCompression
Wscript.Echo "Do On-Demand Compression: " & _
objItem.HcDoOnDemandCompression
Wscript.Echo "Dynamic Compression Level: " & _
objItem.HcDynamicCompressionLevel
For Each strExtension in objItem.HcFileExtensions
Wscript.Echo "File Extensions: " & strExtension
Next
Wscript.Echo "On-Demand Compression Level: " & _
objItem.HcOnDemandCompLevel
Wscript.Echo "Priority: " & objItem.HcPriority
For Each strExtension in objItem.HcScriptFileExtensions
Wscript.Echo "Script File Extensions: " & strExtension
Next
Wscript.Echo
End If
Next

   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a